/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aviso.property.helpers;

/**
 *
 * @author avgusti
 */
public class PropertyValueRange extends PropertyValueCountBase{
    PropertyValuePair min, max;

    public PropertyValueRange(PropertyValuePair min, PropertyValuePair max) {
        this.min = min;
        this.max = max;
        this.property=min.getProperty();
    }

    public PropertyValuePair getMax() {
        return max;
    }

    public void setMax(PropertyValuePair max) {
        this.max = max;
    }

    public PropertyValuePair getMin() {
        return min;
    }

    public void setMin(PropertyValuePair min) {
        this.min = min;
    }

    @Override
    public  String getValueForCompare() {
        return max.getStringValue();
    }
    
            
}
